package com.winit.issue;

import com.winit.commons.util.SeqGenerate;
import com.winit.issue.model.Issue;

public class IssueUtil {
    public static Issue createIssue(Integer index) {
        Issue issue = new Issue();
        issue.setAction("action" + index);
        issue.setCreatorAccount("admin");
        issue.setCreatorName("管理员");
        issue.setGroupTag("加菜单" + index);
        issue.setNumber(SeqGenerate.createSerialNo());
        issue.setToAccount("admin");
        issue.setType("0");
        issue.setUser("卖家");
        return issue;
    }
}
